<?php /* Smarty version 2.6.26, created on 2015-08-02 00:45:30
         compiled from ../Common/memberLeft.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'string_format', '../Common/memberLeft.html', 26, false),)), $this); ?>
<!-- 左侧 -->
<div id='left'>
		<div class='userinfo'>
			<dl>
				<dt>
					<a href=""><img src="<?php echo $this->_tpl_vars['userinfo']['face']; ?>
" width='48' height='48' alt="占位符"/></a>
				</dt>
				<dd class='username'>
					<a href="./index.php?c=member&uid=<?php echo $this->_tpl_vars['userinfo']['uid']; ?>
"><b><?php echo $this->_tpl_vars['userinfo']['username']; ?>
</b>
					</a>
					<a href="">
						<i class='level lv1' title='Level 1'></i>
					</a>
				</dd>
				<dd>金币：<a href="" style="color: #888888;"><b class='point'><?php echo $this->_tpl_vars['userinfo']['point']; ?>
</b></a></dd>
				<dd>经验值：<?php echo $this->_tpl_vars['userinfo']['exp']; ?>
</dd>
			</dl>
			<table>
				<tr>
					<td>回答数</td>
					<td>采纳率</td>
					<td class='last'>提问数</td>
				</tr>
				<tr>
					<td><a href=""><?php echo $this->_tpl_vars['userinfo']['answer']; ?>
</a></td>
					<td><a href=""><?php if ($this->_tpl_vars['userinfo']['answer'] == 0): ?> 0 <?php else: ?> <?php echo ((is_array($_tmp=$this->_tpl_vars['userinfo']['accept']/$this->_tpl_vars['userinfo']['answer']*100)) ? $this->_run_mod_handler('string_format', true, $_tmp, "%.2f") : smarty_modifier_string_format($_tmp, "%.2f")); ?>
 <?php endif; ?>%</a></td>
					<td class='last'><a href=""><?php echo $this->_tpl_vars['userinfo']['ask']; ?>
</a></td>
				</tr>
			</table>
		</div>

	<ul>
		<?php if ($_SESSION['username'] && $_SESSION['uid'] && $_SESSION['uid'] == $_GET['uid']): ?>
		<li class='myhome <?php if (! $_GET['a']): ?>cur<?php endif; ?>'>
			<a href="./index.php?c=member&uid=<?php echo $_SESSION['uid']; ?>
">我的首页</a>
		</li>
		<li class='myask <?php if ($_GET['a'] == my_ask): ?>cur<?php endif; ?>'>
			<a href="./index.php?c=member&a=my_ask&uid=<?php echo $_SESSION['uid']; ?>
">我的提问</a>
		</li>
		<li class='myanswer <?php if ($_GET['a'] == my_answer): ?>cur<?php endif; ?>'>
			<a href="./index.php?c=member&a=my_answer&uid=<?php echo $_SESSION['uid']; ?>
">我的回答</a>
		</li>
		<li class='mylevel <?php if ($_GET['a'] == my_level): ?>cur<?php endif; ?>'>
			<a href="./index.php?c=member&a=my_level&uid=<?php echo $_SESSION['uid']; ?>
">我的等级</a>
		</li>
		<li class='mygold <?php if ($_GET['a'] == my_gold): ?>cur<?php endif; ?>'>
			<a href="./index.php?c=member&a=my_gold&uid=<?php echo $_SESSION['uid']; ?>
">我的金币</a>
		</li>
		<li class='myface <?php if ($_GET['a'] == my_face): ?>cur<?php endif; ?>'>
			<a href="./index.php?c=member&a=my_face&uid=<?php echo $_SESSION['uid']; ?>
">上传头像</a>
		</li>
		<?php else: ?>
		<li class='myhome <?php if (! $_GET['a']): ?>cur<?php endif; ?>'>
			<a href="./index.php?c=member&uid=<?php echo $_GET['uid']; ?>
">TA的首页</a>
		</li>
		<li class='myask <?php if ($_GET['a'] == my_ask): ?>cur<?php endif; ?>'>
			<a href="./index.php?c=member&a=my_ask&uid=<?php echo $_GET['uid']; ?>
">TA的提问</a>
		</li>
		<li class='myanswer <?php if ($_GET['a'] == my_answer): ?>cur<?php endif; ?>'>
			<a href="./index.php?c=member&a=my_answer&uid=<?php echo $_GET['uid']; ?>
">TA的回答</a>
		</li>
		<li class='mylevel <?php if ($_GET['a'] == my_level): ?>cur<?php endif; ?>'>
			<a href="./index.php?c=member&a=my_level&uid=<?php echo $_GET['uid']; ?>
">TA的等级</a>
		</li>
		<li class='mygold <?php if ($_GET['a'] == my_gold): ?>cur<?php endif; ?>'>
			<a href="./index.php?c=member&a=my_gold&uid=<?php echo $_GET['uid']; ?>
">TA的金币</a>
		</li>
		<?php endif; ?>

		<li style="background:none"></li>
	</ul>
</div>
<!-- 左侧结束 -->